package com.goosuncc.gscc.sdk.command.response.bean;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * 
 * 需要动态字段支持的ViewBean可以选择继承这个类。
 * 继承以后，就可以调用DBUtil.mapToBeanWithExtColumns，将jdbcTemplate查询出的Map<String,Object>直接转换成带extColoum的ViewBean
 * 普通ViewBean无需继承此类
 * 
 * @author jiang
 *
 */
public class ViewBeanWithExtColumn implements IBeanWithExtColumns{
	
	private Map<String, Object> extColumns = new LinkedHashMap<>();

	public Map<String, Object> getExtColumns() {
		return extColumns;
	}

	public void setExtColumns(Map<String, Object> extColumns) {
		this.extColumns = extColumns;
	}
}
